package com.yjzx.util.rabbit.constant;

/**
 * @author lfy
 * @Description
 * @create 2022-10-22 10:31
 */
public class MqConst {
    /**
     * 消息过期时间key
     */
    public static final String STRING_EXPIRATION_TIME = "x-message-ttl";

    /**
     * 队列的最大长度为10
     */
    public static final String STRING_QUEUE_MAX_LENGTH = "x-max-length";
    public static final String STRING_DEAD_LETTER_ROUTING_KEY = "x-dead-letter-routing-key";
    /**
     * 交换机类型key
     */
    public static final String STRING_EXCHANGE_TYPE = "x-dead-letter-exchange";
    /**
     * 死信交换机
     */
    public static final String EXCHANGE_DLX = "exchange_dlx";

    public static final int EXPIRATION_TIME = 1000000;
    public static final String QUEUE_LASTING = "QUEUE_LASTING";

    public static final String QUEUE_DLX = "QUEUE_DLX";
    public static final String EX_LASTING = "EX_LASTING";
    public static final String EX_DLX = "EX_DLX";




}
